package customer.zspt.cn.customer.constant;

/**
 * 聊天数据相关常量
 */

public interface chatMsgFieldName {
    //聊天头像
    String AVATER = "avater";
    //聊天对象
    String USERNAME = "userName";
    //聊天内容
    String CHATCONTENT = "chatContent";
    //聊天时间
    String TEMPTIME = "tempTime";
    //未读或者已读
    String SENDORFROM = "sendOrfrom";
    //我发送的或者发来的
    String READORUNREAD = "ReadOrUnRead";
    //聊天类型
    String MSGTYPE = "msgtype";
    //群聊的头像
    String GROUPNAME = "groupname";
    //群聊名
    String GROUPAVATAR = "groupavatar";

    //聊天对象的头像
    String CHATOBJAVATER = "chatObjAvater";
    //群聊名
    String CHATOBJNAME = "chatobjname";

    //日期
    String DATETIME = "datatime";
    //内容
    int CONTENT = 0;
    //图片
    int IMAGE = 1;
    //音频
    int VOICE  = 2;
    //视频
    int VIDEO = 3;
    //文件
    int FILE = 4;
    //文章
    int ESSAY = 5;

    //发送或接收
    int SEND = 0;
    //接收
    int FROM = 1;

    //发送或接收
    int READ = 0;
    //接收
    int UNREAD = 1;
}
